#pragma once
#include "InputBox.h"
#include "LocalPlayer.h"

class InputBoxFPS : public InputBox
{
public:
	InputBoxFPS(LocalPlayer* player);
	~InputBoxFPS();
	
	virtual void Update(float elapsedTime);
	virtual bool OnMouseMove(long deltaX, long deltaY);
	virtual bool MsgProc(void* hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

private:
	bool OnKeyDown(int key);
	bool OnKeyUp(int key);

private:
	LocalPlayer* mLocalPlayer;
	Vector3 mMoveVector;
	float mRotateSpeed;
};
